<?php
$isEn = is_en();
$str_start = _trans('ucc.starting');
?>
<div class="panel-body" id="up-comming-courses">
	<ul>
		<?php 
		$args = array('post_type'=>'up-comming-course','order'=>'DESC'); query_posts( $args ); 
		while ( have_posts() ) : the_post();
		$meta = get_post_meta(get_the_ID());
		$title = $isEn?get_the_title():$meta['ucc_title_vi'][0];	
		?>
		<li>
			<p class="comming-title">
				<a title="<?php echo $title; ?>" href="<?php the_permalink(); ?>">
					<?php echo $title; ?>
				</a>
			</p>
			<p class="comming-date">
				<?php echo $str_start; ?> 
				<strong><?php echo $meta['ucc_date'][0]; ?></strong>
			</p>
		</li>
		<?php
		endwhile; 
		wp_reset_query();
		?>
	</ul>
</div>